#if __has_include(<Commom/SEGToolsHeader.h>)
#import <Commom/SEGToolsHeader.h>
#else
#import "SEGToolsHeader.h"
#endif
#import "SEGNoticeModel.h"
@implementation SEGNoticeModel
- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
-(instancetype)init
{
    self = [super init];
    if (self) {
        _alert = @"";
        _icon = @"";
        _time = @"";
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setAlert:(NSString*)alert{
    _alert = [[SEGUtils ValueToString:alert]copy];
}
- (void)setIcon:(NSString*)icon{
    _icon = [[SEGUtils ValueToString:icon]copy];
}

-(void)setTime:(NSString *)time{
    _time = [[SEGUtils ValueToString:time]copy];
}
@end
